package cn.highedu.spring.config;

import cn.highedu.spring.bean.LegacySingleton;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class LegacyConfig {

    @Bean
    public LegacySingleton legacySingleton(){
        return LegacySingleton.getInstance();
    }
}
